﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoClub.Core.Dao.Support
{
    /// <summary>
    /// Provides an abstraction of identifier generation
    /// </summary>
    public interface IIdentifierGenerator<T>
        where T : struct
    {
        /// <summary>
        /// Generates a new identifier
        /// </summary>
        /// <returns>A new identifier</returns>
        T GenerateNewIdentifier();
    }
}
